package whf.framework.meta.dao;

import whf.framework.exception.FindException;
import whf.framework.meta.Metaable;
import whf.framework.meta.entity.Object;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-05-31
 */
public interface ObjectDAO extends whf.framework.dao.DAO<Object>, Metaable {
	/**
	 * @modify wanghaifeng Oct 29, 2006 8:20:28 AM
	 * @param cls
	 * @return
	 * @throws FindException
	 */
	public Object findByEntityClass(String cls) throws FindException;

	/**
	 * @modify wanghaifeng Oct 29, 2006 8:20:28 AM
	 * @param tableName
	 * @return
	 * @throws FindException
	 */
	public Object findByTableName(String tableName) throws FindException;
} 